package com.yang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yang.domain.User;
import com.yang.dto.Authorization;
import com.yang.dto.UserDto;
import com.yang.mapper.UserMapper;
import com.yang.vo.ResponseResult;

public interface UserService extends IService<User> {
    ResponseResult register(Authorization authorization);

    ResponseResult login(Authorization authorization);

    ResponseResult updatePassword(Authorization authorization);

    ResponseResult setOrUpdateSecurity(Authorization authorization);

    ResponseResult getSecurity();

    ResponseResult getUserInfo();

    ResponseResult updateUserInfo(UserDto userDto);

    ResponseResult logout();
}
